package com.sunda.spmswms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * SAP交货单表明细
 * </p>
 *
 * @author Wayne
 * @since 2021-03-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SAP_DELIVERY_NOTE_DTL")
@ApiModel(value="SapDeliveryNoteDtl对象", description="SAP交货单表明细")
public class SapDeliveryNoteDtl implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "SAP交货单号")
    @TableField("DELIVERY_NOTE_SAP")
    private String deliveryNoteSap;

    @ApiModelProperty(value = "SAP交货单行号")
    @TableField("DELIVERY_NOTE_SAP_ITEM")
    private Integer deliveryNoteSapItem;

    @ApiModelProperty(value = "采购组")
    @TableField("PURCHASE_GROUP")
    private String purchaseGroup;

    @ApiModelProperty(value = "采购组名称")
    @TableField("PURCHASE_GROUP_NAME")
    private String purchaseGroupName;

    @ApiModelProperty(value = "物料编号")
    @TableField("MATERIAL_NO")
    private String materialNo;

    @ApiModelProperty(value = "交货数量")
    @TableField("DELIVERY_QTY")
    private Double deliveryQty;

    @ApiModelProperty(value = "销售单位")
    @TableField("DELIVERY_UNIT")
    private String deliveryUnit;

    @ApiModelProperty(value = "工厂")
    @TableField("WERKS")
    private String werks;

    @ApiModelProperty(value = "库存地点")
    @TableField("WHS_LOCATION_CODE")
    private String whsLocationCode;

    @ApiModelProperty(value = "实际收货数量（基本单位）")
    @TableField("RECEIVED_QTY")
    private Double receivedQty;

    @ApiModelProperty(value = "交货单行项目状态")
    @TableField("ITEM_STATUS")
    private String itemStatus;

    @ApiModelProperty(value = "过量交货限制")
    @TableField("OVER_DELIVERY_LIMIT")
    private Double overDeliveryLimit;

    @ApiModelProperty(value = "交货不足限制")
    @TableField("UNDER_DELIVERY_LIMIT")
    private Double underDeliveryLimit;

    @ApiModelProperty(value = "无限制")
    @TableField("UNLIMITED")
    private String unlimited;

    @ApiModelProperty(value = "交货单行项目备注")
    @TableField("REMARKS")
    private String remarks;

    @ApiModelProperty(value = "储位存储详情数据")
    @TableField("TEMP_STORAGE")
    private String tempStorage;

    @ApiModelProperty(value = "需求工厂")
    @TableField("WERKS_XQ")
    private String werksXq;

    @ApiModelProperty(value = "销售单位应收数量")
    @TableField("QTY_SALES")
    private Double qtySales;

    @ApiModelProperty(value = "销售单位")
    @TableField("UNIT_SALES")
    private String unitSales;

    @ApiModelProperty(value = "销售单位实收数量")
    @TableField("ACTUAL_QTY_SALES")
    private Double actualQtySales;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "交货单明细SPMS行号")
    @TableField("SPMS_ITEM")
    private Integer spmsItem;

    @ApiModelProperty(value = "凭证日期-开始处理日期")
    @TableField("DOCUMENT_DATE")
    private String documentDate;

    @ApiModelProperty(value = "SAP凭证号")
    @TableField("SAP_VOUCHER_NUMBER")
    private String sapVoucherNumber;

    @ApiModelProperty(value = "SAP凭证年份")
    @TableField("SAP_VOUCHER_YEAR")
    private String sapVoucherYear;

    @ApiModelProperty(value = "过账日期")
    @TableField("POSTING_DATE")
    private String postingDate;

    @ApiModelProperty(value = "撤销凭证号")
    @TableField("CANCEL_VOUCHER_NUMBER")
    private String cancelVoucherNumber;

    @ApiModelProperty(value = "撤销凭证年份")
    @TableField("CANCEL_VOUCHER_YEAR")
    private String cancelVoucherYear;

    @ApiModelProperty(value = "撤销备注信息")
    @TableField("CANCEL_REMARK")
    private String cancelRemark;

    @ApiModelProperty(value = "用户工号")
    @TableField("USER_ID")
    private String userId;

    @ApiModelProperty(value = "操作员")
    @TableField("OPERATOR")
    private String operator;

    public String getTempStorage() {
        return tempStorage;
    }

    public void setTempStorage(String tempStorage) {
        this.tempStorage = tempStorage;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getDeliveryNoteSap() {
        return deliveryNoteSap;
    }

    public void setDeliveryNoteSap(String deliveryNoteSap) {
        this.deliveryNoteSap = deliveryNoteSap;
    }

    public Integer getDeliveryNoteSapItem() {
        return deliveryNoteSapItem;
    }

    public void setDeliveryNoteSapItem(Integer deliveryNoteSapItem) {
        this.deliveryNoteSapItem = deliveryNoteSapItem;
    }

    public String getPurchaseGroup() {
        return purchaseGroup;
    }

    public void setPurchaseGroup(String purchaseGroup) {
        this.purchaseGroup = purchaseGroup;
    }

    public String getPurchaseGroupName() {
        return purchaseGroupName;
    }

    public void setPurchaseGroupName(String purchaseGroupName) {
        this.purchaseGroupName = purchaseGroupName;
    }

    public String getMaterialNo() {
        return materialNo;
    }

    public void setMaterialNo(String materialNo) {
        this.materialNo = materialNo;
    }

    public Double getDeliveryQty() {
        return deliveryQty;
    }

    public void setDeliveryQty(Double deliveryQty) {
        this.deliveryQty = deliveryQty;
    }

    public String getDeliveryUnit() {
        return deliveryUnit;
    }

    public void setDeliveryUnit(String deliveryUnit) {
        this.deliveryUnit = deliveryUnit;
    }

    public String getWerks() {
        return werks;
    }

    public void setWerks(String werks) {
        this.werks = werks;
    }

    public String getWhsLocationCode() {
        return whsLocationCode;
    }

    public void setWhsLocationCode(String whsLocationCode) {
        this.whsLocationCode = whsLocationCode;
    }

    public Double getReceivedQty() {
        return receivedQty;
    }

    public void setReceivedQty(Double receivedQty) {
        this.receivedQty = receivedQty;
    }

    public String getItemStatus() {
        return itemStatus;
    }

    public void setItemStatus(String itemStatus) {
        this.itemStatus = itemStatus;
    }

    public Double getOverDeliveryLimit() {
        return overDeliveryLimit;
    }

    public void setOverDeliveryLimit(Double overDeliveryLimit) {
        this.overDeliveryLimit = overDeliveryLimit;
    }

    public Double getUnderDeliveryLimit() {
        return underDeliveryLimit;
    }

    public void setUnderDeliveryLimit(Double underDeliveryLimit) {
        this.underDeliveryLimit = underDeliveryLimit;
    }

    public String getUnlimited() {
        return unlimited;
    }

    public void setUnlimited(String unlimited) {
        this.unlimited = unlimited;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getWerksXq() {
        return werksXq;
    }

    public void setWerksXq(String werksXq) {
        this.werksXq = werksXq;
    }

    public Double getQtySales() {
        return qtySales;
    }

    public void setQtySales(Double qtySales) {
        this.qtySales = qtySales;
    }

    public String getUnitSales() {
        return unitSales;
    }

    public void setUnitSales(String unitSales) {
        this.unitSales = unitSales;
    }

    public Double getActualQtySales() {
        return actualQtySales;
    }

    public void setActualQtySales(Double actualQtySales) {
        this.actualQtySales = actualQtySales;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getSpmsItem() {
        return spmsItem;
    }

    public void setSpmsItem(Integer spmsItem) {
        this.spmsItem = spmsItem;
    }

    public String getDocumentDate() {
        return documentDate;
    }

    public void setDocumentDate(String documentDate) {
        this.documentDate = documentDate;
    }

    public String getSapVoucherNumber() {
        return sapVoucherNumber;
    }

    public void setSapVoucherNumber(String sapVoucherNumber) {
        this.sapVoucherNumber = sapVoucherNumber;
    }

    public String getSapVoucherYear() {
        return sapVoucherYear;
    }

    public void setSapVoucherYear(String sapVoucherYear) {
        this.sapVoucherYear = sapVoucherYear;
    }

    public String getPostingDate() {
        return postingDate;
    }

    public void setPostingDate(String postingDate) {
        this.postingDate = postingDate;
    }

    public String getCancelVoucherNumber() {
        return cancelVoucherNumber;
    }

    public void setCancelVoucherNumber(String cancelVoucherNumber) {
        this.cancelVoucherNumber = cancelVoucherNumber;
    }

    public String getCancelVoucherYear() {
        return cancelVoucherYear;
    }

    public void setCancelVoucherYear(String cancelVoucherYear) {
        this.cancelVoucherYear = cancelVoucherYear;
    }

    public String getCancelRemark() {
        return cancelRemark;
    }

    public void setCancelRemark(String cancelRemark) {
        this.cancelRemark = cancelRemark;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
